package com.more.spring.boot.springbootredisdemo.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

@Configuration
//maxInactiveIntervalInSeconds默认1800s过期，这里修改为60s
@EnableRedisHttpSession(maxInactiveIntervalInSeconds = 60) //开启Redis的Session管理
public class RedisHttpSessionConfiguration {

}
